<?php
namespace Admin\Model;
use Think\Model\ViewModel;
class ProductOrderViewModel extends ViewModel{
	public $viewFields = array(
		'ProductOrder'=>array('_as'=>'products','id','order_id','amount','price','sprice','_type'=>'LEFT'),
		'Food'=>array('_as'=>'foods','food_name','unit','food_image','_on'=>'products.fid=foods.id'),
	); 
}
